<?php define('SIDEBAR', TRUE);?>
<?php get_header(); ?>

<div class="page">
<?php the_post(); $page = get_page(get_the_ID()); $full_page = get_extended($page->post_content);?>
<?php
$children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0');
if ($children) { ?> 
<ul id="submenu"> 
<?php echo $children; ?> 
</ul> 
<?php } ?>
<h1><?php echo $page->post_title; ?></h1>
<div class="body body-main"><?php echo $full_page["main"]; ?></div>
<div class="body body-extended"><?php echo $full_page["extended"]; ?></div>
</div>
<?php get_footer(); ?>